Package-level declarations
Types
Link copied to clipboard
class CleanNodeDatabaseViewModel @Inject constructor(nodeRepository: NodeRepository, radioConfigRepository: RadioConfigRepository) : ViewModel
ViewModel for CleanNodeDatabaseScreen. Manages the state and logic for cleaning the node database based on specified criteria. The "older than X days" filter is always active.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@IdentifierNameString
@DaggerGenerated
@IdentifierNameString
@DaggerGenerated
@IdentifierNameString
@DaggerGenerated
@IdentifierNameString
@DaggerGenerated
Link copied to clipboard
@IdentifierNameString
@DaggerGenerated
@IdentifierNameString
@DaggerGenerated
@IdentifierNameString
@DaggerGenerated
@IdentifierNameString
@DaggerGenerated
Link copied to clipboard
Link copied to clipboard
data class RadioConfigState(val isLocal: Boolean = false, val connected: Boolean = false, val route: String = "", val metadata: <Error class: unknown class>? = null, val userConfig: <Error class: unknown class> = MeshProtos.User.getDefaultInstance(), val channelList: List<<Error class: unknown class>> = emptyList(), val radioConfig: <Error class: unknown class> = config {}, val moduleConfig: <Error class: unknown class> = moduleConfig {}, val ringtone: String = "", val cannedMessageMessages: String = "", val responseState: ResponseState<Boolean> = ResponseState.Empty, val analyticsAvailable: Boolean = true, val analyticsEnabled: Boolean = false)
Data class that represents the current RadioConfig state.
Link copied to clipboard
class RadioConfigViewModel @Inject constructor(savedStateHandle: SavedStateHandle, app: Application, radioConfigRepository: RadioConfigRepository, locationRepository: LocationRepository, mapConsentPrefs: MapConsentPrefs, analyticsPrefs: AnalyticsPrefs) : ViewModel, Logging
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@IdentifierNameString
@DaggerGenerated
@IdentifierNameString
@DaggerGenerated
@IdentifierNameString
@DaggerGenerated
@IdentifierNameString
@DaggerGenerated
Link copied to clipboard
@IdentifierNameString
@DaggerGenerated
@IdentifierNameString
@DaggerGenerated
@IdentifierNameString
@DaggerGenerated
@IdentifierNameString
@DaggerGenerated
Link copied to clipboard
Link copied to clipboard
Generic sealed class defines each possible state of a response.
Functions
Link copied to clipboard
Composable screen for cleaning the node database. Allows users to specify criteria for deleting nodes. The list of nodes to be deleted updates automatically as filter criteria change.
Link copied to clipboard
fun RadioConfigItemList(state: RadioConfigState, isManaged: Boolean, excludedModulesUnlocked: Boolean = false, onRouteClick: (Enum<*>) -> Unit = {}, onImport: () -> Unit = {}, onExport: () -> Unit = {}, onNavigate: (Route) -> Unit)